/*
 * 作者：姚俊
 * 功能：多人邮件发送
 * 日期：2015-05-25
 */
package admin.action.mail;

import teacher.bean.Teacher;
import teacher.service.teacher;
import java.util.*;

public class MailsAction {
	
	private List<Teacher> teachers;

	public List<Teacher> getTeachers() {
		return teachers;
	}

	public void setTeachers(List<Teacher> teachers) {
		this.teachers = teachers;
	}

	public String execute()
	{
		//得到所有的老师
		this.setTeachers(new teacher().SelectAllTeacher());
		return "succ";
	}

}
